<include file="../header" />
<body class="J_scroll_fixed">
    <script>

        $(document).ready(function() {



        });

    </script>

<div class="wrap J_check_wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a >宣传栏</a></li>
        <li><a href="{:U('magazine/addMagazine', array('id'=>$magazineId))}">添加</a></li>
    </ul>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th>标题</th>
            <th>类型</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.title}</td>
                <td>{$vo.type}</td>
                <td>{$vo.create_time}</td>
                <td>
                    <a href='{:U("magazine/editMagazine",array("id"=>$vo["magazine_id"]))}'>修改</a>
                    <a class="J_ajax_del" href='{:U("magazine/removeMagazine",array("id"=>$vo["magazine_id"]))}'>删除</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>